package com.csci;

import java.awt.BorderLayout;
import java.awt.Color;

import javax.swing.BorderFactory;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.Border;

public class SudokuGridElement extends JPanel {

	int value;
	JLabel jLabel;
	public SudokuGridElement(int value){
		this.value = value;
		jLabel = new JLabel(Integer.toString(value), JLabel.CENTER);
		
		this.setLayout(new BorderLayout(1,1));
		this.setBorder(BorderFactory.createLineBorder(Color.black, 1));
	
		this.add(jLabel);
	}
	
}
